package cn.itcast.bos.quartz;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import cn.itcast.bos.service.take_delivery.WayBillService;
@Component
public class WayBillJob {
	@Resource
	private WayBillService service;
	
	public void synIndex(){
		System.err.println("同步~~~~~");
		service.syncIndex();
	}
}
